hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
Forces.springForce
hip
api
math
forces
Forces
Undocumented in source. Be warned that the author may not have intended to support it.
Vector2
springForce
(Vector2 anchor, Vector2 displacement, float springLength, float howMuch)
struct
Forces
@
nogc
@
safe
nothrow static
Vector2
springForce
(
in
Vector2
anchor
,
in
Vector2
displacement
,
float
springLength
,
float
howMuch
)
Vector3
springForce
(Vector3 anchor, Vector3 displacement, float springLength, float howMuch)
Meta
Source
See Implementation
hip
api
math
forces
Forces
constructors
this
static functions
dragForce
frictionForce
gravitationalForce
springForce